﻿
@section scripts{
    <script type="text/javascript">
        var bootstrap = function ($, ibpm) {
            "use strict";
            var SchemeId = '83048ebb-b007-483c-800a-09d0b71aab14';
            var refreshGirdData;
            var page = {
                init: function () {
                    page.bind();
                },
                bind: function () {
                    $("#test01").on('click', page.ACT1);
                    $("#test02").on('click', page.ACT2);
                    $("#test03").on('click', page.ACT3);

                    $('#Enc_Pic').ibpm_pic({
                        isOnlyRead: false,
                        value: SchemeId
                    });

                    $('#Enc_File').ibpm_Uploader({
                        isUpload: true,
                        value: SchemeId
                    });

                },
                ACT1: function () {
                    ibpm.ManageImgOnly(SchemeId);
                },
                ACT2: function () {
                    ibpm.ManageImg(SchemeId);
                },
                ACT3: function () {

                },
            };
            page.init();
            refreshGirdData = function (data) {
                alert(data);
            };
        }
    </script>
}

<div class="row">
    <div class="col-lg-6">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>模拟业务应用</h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="block">
                    <div id="Enc_Pic"></div>
                </div>
                <div class="block">
                    <div id="Enc_File"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="ibox ">
            <div class="ibox-title">
                <span class="label label-success float-right">System</span>
                <h5>测试用例</h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="btn-group btn-group-sm">
                    <a id="test01" class="btn btn-default"><i class="fa fa-book"></i>&nbsp;测试123</a>
                    <a id="test02" class="btn btn-default"><i class="fa fa-bookmark"></i>&nbsp;测试456</a>
                    <a id="test03" class="btn btn-default"><i class="fa fa-bookmark"></i>&nbsp;测试789</a>
                </div>
            </div>
        </div>
    </div>
</div>
